package com.groupbuying.storeinternal.service;

import com.groupbuying.storeinternal.domain.StoreCustomerCollectDO;

import java.util.List;
import java.util.Map;

/**
 * 商户会员收藏表
 * 
 * @author wenguoqiang
 * @email wenguoqiango@163.com
 * @date 2020-01-10 14:22:32
 * @des
 */

public interface StoreCustomerCollectService {
	
	StoreCustomerCollectDO get(String id);
	
	List<StoreCustomerCollectDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StoreCustomerCollectDO storeCustomerCollect);
	
	int update(StoreCustomerCollectDO storeCustomerCollect);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	/***
	 * 保存或者删除收藏
	 * @param params
	 * @return
	 */
	Object saveOrDeleteCollect(Map<String, Object> params);

}
